<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>人工智能在医疗领域的最新应用与突破 - 科技前沿论坛</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        :root {
            --primary: #4F46E5;
            --primary-light: #818CF8;
            --primary-dark: #3730A3;
            --secondary: #10B981;
            --danger: #EF4444;
            --light-bg: #F8FAFC;
            --card-bg: #FFFFFF;
            --text-primary: #1E293B;
            --text-secondary: #64748B;
            --border-light: #E2E8F0;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius: 8px;
            --transition: all 0.3s ease;
        }
        
        body {
            font-family: 'Inter', system-ui, sans-serif;
            background-color: var(--light-bg);
            color: var(--text-primary);
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 导航路径 */
        .breadcrumb {
            margin: 1rem 0;
            background-color: transparent;
            padding: 0;
            font-size: 0.9rem;
        }
        
        .breadcrumb-item a {
            color: var(--text-secondary);
            text-decoration: none;
        }
        
        .breadcrumb-item a:hover {
            color: var(--primary);
        }
        
        .breadcrumb-item.active {
            color: var(--text-primary);
        }
        
        /* 主内容区布局 */
        .content-container {
            display: flex;
            gap: 2rem;
            margin-top: 1rem;
        }
        
        .main-content {
            flex: 1;
        }
        
        .sidebar {
            width: 300px;
            flex-shrink: 0;
        }
        
        /* 帖子卡片样式 */
        .post-card {
            background-color: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            overflow: hidden;
            margin-bottom: 1.5rem;
        }
        
        .post-header {
            padding: 1.5rem;
            border-bottom: 1px solid var(--border-light);
        }
        
        .post-title {
            font-size: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
            line-height: 1.3;
        }
        
        .post-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .post-author {
            display: flex;
            align-items: center;
            gap: 1rem;
        }
        
        .author-avatar {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            overflow: hidden;
        }
        
        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .author-info {
            display: flex;
            flex-direction: column;
        }
        
        .author-name {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 0;
        }
        
        .post-time {
            color: var(--text-secondary);
            font-size: 0.85rem;
        }
        
        .post-status {
            background-color: rgba(79, 70, 229, 0.1);
            color: var(--primary);
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
        }
        
        .post-content {
            padding: 1.5rem;
            line-height: 1.8;
            font-size: 1.05rem;
        }
        
        .post-content p {
            margin-bottom: 1rem;
        }
        
        .post-content h3, .post-content h4 {
            margin: 1.5rem 0 1rem;
            font-weight: 600;
        }
        
        .post-content img {
            max-width: 100%;
            border-radius: var(--radius);
            margin: 1.5rem 0;
        }
        
        .post-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin: 1.5rem 0 0;
        }
        
        .post-tag {
            font-size: 0.85rem;
            padding: 0.3rem 0.85rem;
            border-radius: 20px;
            background-color: rgba(79, 70, 229, 0.1);
            color: var(--primary);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .post-tag:hover {
            background-color: rgba(79, 70, 229, 0.2);
            color: var(--primary-dark);
        }
        
        .post-actions {
            padding: 1rem 1.5rem;
            border-top: 1px solid var(--border-light);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .action-buttons {
            display: flex;
            gap: 1.5rem;
        }
        
        .action-btn {
            background: none;
            border: none;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.95rem;
            cursor: pointer;
            transition: var(--transition);
            padding: 0.35rem 0.75rem;
            border-radius: 6px;
        }
        
        .action-btn:hover {
            color: var(--primary);
            background-color: rgba(79, 70, 229, 0.05);
        }
        
        .action-btn.liked {
            color: var(--danger);
        }
        
        .action-btn.bookmarked {
            color: var(--primary);
        }
        
        .share-buttons {
            display: flex;
            gap: 0.75rem;
        }
        
        .share-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: var(--light-bg);
            color: var(--text-secondary);
            border: 1px solid var(--border-light);
            cursor: pointer;
            transition: var(--transition);
        }
        
        .share-btn:hover {
            background-color: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        
        /* 评论区样式 */
        .comments-section {
            background-color: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border-light);
        }
        
        .comments-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin: 0;
        }
        
        .comments-count {
            color: var(--text-secondary);
            font-size: 0.95rem;
        }
        
        .comment-sort {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        .sort-select {
            padding: 0.35rem;
            border: 1px solid var(--border-light);
            border-radius: 4px;
            background-color: var(--light-bg);
            color: var(--text-primary);
            font-size: 0.85rem;
        }
        
        /* 评论输入框 */
        .comment-form {
            margin-bottom: 2rem;
        }
        
        .comment-input-container {
            display: flex;
            gap: 1rem;
        }
        
        .user-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .user-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .comment-input {
            flex: 1;
        }
        
        .comment-textarea {
            width: 100%;
            padding: 1rem;
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            resize: none;
            min-height: 120px;
            font-family: inherit;
            font-size: 0.95rem;
            transition: var(--transition);
        }
        
        .comment-textarea:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }
        
        .comment-form-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.75rem;
            gap: 1rem;
        }
        
        .btn-cancel {
            background-color: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border-light);
            padding: 0.5rem 1.25rem;
            border-radius: var(--radius);
            font-weight: 500;
            transition: var(--transition);
        }
        
        .btn-cancel:hover {
            background-color: var(--light-bg);
        }
        
        .btn-post-comment {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.5rem 1.5rem;
            border-radius: var(--radius);
            font-weight: 500;
            transition: var(--transition);
        }
        
        .btn-post-comment:hover {
            background-color: var(--primary-dark);
        }
        
        /* 评论列表 */
        .comments-list {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .comment-item {
            display: flex;
            gap: 1rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-light);
        }
        
        .comment-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }
        
        .comment-content {
            flex: 1;
        }
        
        .comment-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }
        
        .comment-author {
            font-weight: 600;
            font-size: 0.95rem;
        }
        
        .comment-time {
            color: var(--text-secondary);
            font-size: 0.8rem;
        }
        
        .comment-text {
            margin-bottom: 0.75rem;
            font-size: 0.95rem;
        }
        
        .comment-actions {
            display: flex;
            gap: 1.25rem;
        }
        
        .comment-action {
            color: var(--text-secondary);
            font-size: 0.85rem;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.35rem;
            transition: var(--transition);
        }
        
        .comment-action:hover {
            color: var(--primary);
        }
        
        .comment-action.liked {
            color: var(--danger);
        }
        
        /* 回复样式 */
        .replies-list {
            margin-top: 1rem;
            margin-left: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .reply-item {
            display: flex;
            gap: 0.75rem;
            padding: 0.75rem;
            background-color: var(--light-bg);
            border-radius: var(--radius);
        }
        
        .reply-content {
            flex: 1;
        }
        
        .reply-header {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.25rem;
        }
        
        .reply-author {
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .reply-to {
            color: var(--text-secondary);
            font-size: 0.85rem;
        }
        
        .reply-text {
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        
        .reply-actions {
            display: flex;
            gap: 1rem;
        }
        
        .reply-action {
            color: var(--text-secondary);
            font-size: 0.8rem;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            transition: var(--transition);
        }
        
        .reply-action:hover {
            color: var(--primary);
        }
        
        /* 回复输入框 */
        .reply-form {
            margin-top: 0.75rem;
            display: flex;
            gap: 0.75rem;
        }
        
        .reply-textarea {
            flex: 1;
            width: 100%;
            padding: 0.75rem;
            border: 1px solid var(--border-light);
            border-radius: var(--radius);
            resize: none;
            min-height: 80px;
            font-family: inherit;
            font-size: 0.9rem;
            transition: var(--transition);
        }
        
        .reply-textarea:focus {
            outline: none;
            border-color: var(--primary-light);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
        }
        
        .reply-form-actions {
            display: flex;
            justify-content: flex-end;
            margin-top: 0.5rem;
            gap: 0.75rem;
        }
        
        .btn-cancel-reply {
            background-color: transparent;
            color: var(--text-secondary);
            border: none;
            padding: 0.35rem 0.75rem;
            font-size: 0.85rem;
            cursor: pointer;
        }
        
        .btn-post-reply {
            background-color: var(--primary);
            color: white;
            border: none;
            padding: 0.35rem 0.75rem;
            border-radius: 4px;
            font-size: 0.85rem;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .btn-post-reply:hover {
            background-color: var(--primary-dark);
        }
        
        /* 侧边栏样式 */
        .sidebar-card {
            background-color: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .sidebar-title {
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-light);
        }
        
        /* 作者信息卡片 */
        .author-card {
            text-align: center;
        }
        
        .author-card-avatar {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            overflow: hidden;
            margin: 0 auto 1rem;
            border: 3px solid var(--light-bg);
            box-shadow: var(--shadow);
        }
        
        .author-card-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .author-card-name {
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }
        
        .author-card-role {
            color: var(--text-secondary);
            font-size: 0.85rem;
            margin-bottom: 1rem;
        }
        
        .author-card-stats {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1rem;
        }
        
        .author-stat {
            text-align: center;
        }
        
        .stat-value {
            font-weight: 600;
            font-size: 1.1rem;
            color: var(--primary);
            margin-bottom: 0;
        }
        
        .stat-label {
            color: var(--text-secondary);
            font-size: 0.8rem;
            margin-bottom: 0;
        }
        
        .btn-follow {
            background-color: var(--primary);
            color: white;
            border: none;
            width: 100%;
            padding: 0.5rem;
            border-radius: var(--radius);
            font-weight: 500;
            transition: var(--transition);
        }
        
        .btn-follow:hover {
            background-color: var(--primary-dark);
        }
        
        .btn-following {
            background-color: transparent;
            color: var(--text-secondary);
            border: 1px solid var(--border-light);
            width: 100%;
            padding: 0.5rem;
            border-radius: var(--radius);
            font-weight: 500;
            transition: var(--transition);
        }
        
        .btn-following:hover {
            background-color: var(--light-bg);
            color: var(--danger);
            border-color: var(--danger);
        }
        
        /* 相关帖子 */
        .related-posts {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .related-post-item {
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid var(--border-light);
        }
        
        .related-post-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .related-post-link {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            font-size: 0.95rem;
            line-height: 1.4;
        }
        
        .related-post-link:hover {
            color: var(--primary);
        }
        
        .related-post-meta {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 0.5rem;
            color: var(--text-secondary);
            font-size: 0.8rem;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .content-container {
                flex-direction: column;
            }
            
            .sidebar {
                width: 100%;
            }
            
            .author-card {
                display: flex;
                align-items: center;
                text-align: left;
                gap: 1.5rem;
            }
            
            .author-card-avatar {
                margin: 0;
            }
            
            .author-card-info {
                flex: 1;
            }
            
            .author-card-stats {
                justify-content: flex-start;
            }
        }
        
        @media (max-width: 768px) {
            .post-title {
                font-size: 1.5rem;
            }
            
            .action-buttons {
                gap: 1rem;
            }
            
            .action-btn span {
                display: none;
            }
            
            .action-btn {
                width: 36px;
                height: 36px;
                padding: 0;
                justify-content: center;
                border-radius: 50%;
            }
            
            .replies-list {
                margin-left: 1rem;
            }
        }
        
        @media (max-width: 576px) {
            .post-actions {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }
            
            .share-buttons {
                width: 100%;
                justify-content: space-between;
            }
            
            .comments-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
            
            .comment-input-container {
                flex-direction: column;
                gap: 0.75rem;
            }
            
            .user-avatar {
                width: 40px;
                height: 40px;
            }
            
            .comment-form-actions {
                flex-wrap: wrap;
            }
            
            .btn-cancel, .btn-post-comment {
                flex: 1;
                min-width: 120px;
                justify-content: center;
            }
            
            .reply-form {
                flex-direction: column;
            }
        }
    </style>
</head>
<body>
    <div class="container py-5 px-4">
        <!-- 导航路径 -->
        <nav aria-label="breadcrumb">
            <ol class="breadcrumb">
                <li class="breadcrumb-item"><a href="#">首页</a></li>
                <li class="breadcrumb-item"><a href="#">科技前沿论坛</a></li>
                <li class="breadcrumb-item active" aria-current="page">人工智能在医疗领域的最新应用与突破</li>
            </ol>
        </nav>
        
        <!-- 主内容区 -->
        <div class="content-container">
            <!-- 帖子详情 -->
            <div class="main-content">
                <!-- 帖子卡片 -->
                <div class="post-card">
                    <div class="post-header">
                        <h1 class="post-title">人工智能在医疗领域的最新应用与突破</h1>
                        <div class="post-meta">
                            <div class="post-author">
                                <div class="author-avatar">
                                    <img src="https://picsum.photos/id/64/100/100" alt="科技探索者的头像">
                                </div>
                                <div class="author-info">
                                    <span class="author-name">科技探索者</span>
                                    <span class="post-time">发布于 2023-06-15 09:30 · 2小时前编辑</span>
                                </div>
                            </div>
                            <span class="post-status">精华帖</span>
                        </div>
                    </div>
                    
                    <div class="post-content">
                        <p>最近关注到AI在医疗诊断方面有了不少突破性进展，特别是在影像识别和疾病预测方面。有研究显示，AI系统在某些癌症早期检测中的准确率已经超过了传统的放射科医生。这不仅能提高诊断效率，还能大大降低误诊率。</p>
                        
                        <h3>影像识别领域的突破</h3>
                        <p>在医学影像识别方面，深度学习算法已经能够识别X光片、CT扫描和MRI中的异常情况。例如，谷歌的DeepMind开发的AI系统在乳腺癌检测中表现出了极高的准确率，甚至超过了专业放射科医生的平均水平。</p>
                        
                        <img src="https://picsum.photos/id/237/800/400" alt="医学影像分析示意图">
                        
                        <h3>药物研发的加速</h3>
                        <p>AI不仅在诊断方面发挥作用，在药物研发领域也展现出巨大潜力。传统药物研发往往需要数年时间和数十亿美元的投入，而AI可以通过分析海量生物数据，预测分子结构和相互作用，从而大大缩短研发周期。</p>
                        
                        <p>例如，英国的一家生物技术公司使用AI在几周内就设计出了针对新型冠状病毒的潜在药物分子，而传统方法可能需要数月甚至数年。</p>
                        
                        <h3>伦理与隐私问题</h3>
                        <p>尽管AI在医疗领域的应用前景广阔，但也带来了一系列伦理和隐私问题。如何确保患者数据的安全？AI的诊断结果是否应该作为最终决策？出现误诊时责任如何划分？这些都是需要行业和社会共同探讨的问题。</p>
                        
                        <p>大家对AI在医疗领域的应用有什么看法？有没有了解相关最新研究的朋友可以分享一下？</p>
                        
                        <div class="post-tags">
                            <a href="#" class="post-tag">人工智能</a>
                            <a href="#" class="post-tag">医疗科技</a>
                            <a href="#" class="post-tag">深度学习</a>
                            <a href="#" class="post-tag">影像识别</a>
                            <a href="#" class="post-tag">药物研发</a>
                        </div>
                    </div>
                    
                    <div class="post-actions">
                        <div class="action-buttons">
                            <button class="action-btn liked">
                                <i class="fas fa-heart"></i>
                                <span>点赞 (128)</span>
                            </button>
                            <button class="action-btn">
                                <i class="far fa-comment"></i>
                                <span>评论 (42)</span>
                            </button>
                            <button class="action-btn bookmarked">
                                <i class="fas fa-bookmark"></i>
                                <span>收藏</span>
                            </button>
                            <button class="action-btn">
                                <i class="fas fa-flag"></i>
                                <span>举报</span>
                            </button>
                        </div>
                        <div class="share-buttons">
                            <button class="share-btn" title="分享到微信">
                                <i class="fab fa-weixin"></i>
                            </button>
                            <button class="share-btn" title="分享到微博">
                                <i class="fab fa-weibo"></i>
                            </button>
                            <button class="share-btn" title="分享到QQ">
                                <i class="fab fa-qq"></i>
                            </button>
                            <button class="share-btn" title="复制链接">
                                <i class="fas fa-link"></i>
                            </button>
                        </div>
                    </div>
                </div>
                
                <!-- 评论区 -->
                <div class="comments-section">
                    <div class="comments-header">
                        <div>
                            <h3 class="comments-title">评论 <span class="comments-count">(42)</span></h3>
                        </div>
                        <div class="comment-sort">
                            <span>排序方式：</span>
                            <select class="sort-select">
                                <option value="latest">最新发布</option>
                                <option value="popular">热门优先</option>
                                <option value="oldest">最早发布</option>
                            </select>
                        </div>
                    </div>
                    
                    <!-- 评论输入框 -->
                    <div class="comment-form">
                        <div class="comment-input-container">
                            <div class="user-avatar">
                                <img src="https://picsum.photos/id/1005/100/100" alt="当前用户头像">
                            </div>
                            <div class="comment-input">
                                <textarea class="comment-textarea" placeholder="分享你的观点..."></textarea>
                                <div class="comment-form-actions">
                                    <button class="btn-cancel">取消</button>
                                    <button class="btn-post-comment">发布评论</button>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 评论列表 -->
                    <div class="comments-list">
                        <!-- 评论1 -->
                        <div class="comment-item">
                            <div class="user-avatar">
                                <img src="https://picsum.photos/id/338/100/100" alt="量子计算的头像">
                            </div>
                            <div class="comment-content">
                                <div class="comment-header">
                                    <span class="comment-author">量子计算</span>
                                    <span class="comment-time">2023-06-15 10:15</span>
                                </div>
                                <div class="comment-text">
                                    非常同意楼主的观点。我最近也看到斯坦福大学的一项研究，他们开发的AI系统在皮肤癌诊断方面达到了专家水平。这对于医疗资源匮乏的地区来说尤其有价值，可以通过AI辅助基层医生做出更准确的诊断。
                                </div>
                                <div class="comment-actions">
                                    <a href="#" class="comment-action liked">
                                        <i class="fas fa-heart"></i>
                                        <span>32</span>
                                    </a>
                                    <a href="#" class="comment-action reply-btn">
                                        <i class="far fa-comment"></i>
                                        <span>回复</span>
                                    </a>
                                </div>
                                
                                <!-- 回复列表 -->
                                <div class="replies-list">
                                    <div class="reply-item">
                                        <div class="user-avatar">
                                            <img src="https://picsum.photos/id/64/100/100" alt="科技探索者的头像">
                                        </div>
                                        <div class="reply-content">
                                            <div class="reply-header">
                                                <span class="reply-author">科技探索者</span>
                                                <span class="reply-to">回复 量子计算</span>
                                            </div>
                                            <div class="reply-text">
                                                是的，我也看到了这项研究。特别值得一提的是，该系统不仅能识别常见的皮肤癌类型，还能对罕见病例做出准确判断，这对于经验不足的医生来说是很大的帮助。
                                            </div>
                                            <div class="reply-actions">
                                                <a href="#" class="reply-action liked">
                                                    <i class="fas fa-heart"></i>
                                                    <span>15</span>
                                                </a>
                                                <a href="#" class="reply-action reply-btn">
                                                    <i class="far fa-comment"></i>
                                                    <span>回复</span>
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                    
                                    <!-- 回复输入框 -->
                                    <div class="reply-form-container" style="display: none;">
                                        <div class="reply-form">
                                            <div class="user-avatar">
                                                <img src="https://picsum.photos/id/1005/100/100" alt="当前用户头像">
                                            </div>
                                            <div class="comment-input">
                                                <textarea class="reply-textarea" placeholder="回复 @量子计算..."></textarea>
                                                <div class="reply-form-actions">
                                                    <button class="btn-cancel-reply">取消</button>
                                                    <button class="btn-post-reply">回复</button>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 评论2 -->
                        <div class="comment-item">
                            <div class="user-avatar">
                                <img src="https://picsum.photos/id/349/100/100" alt="未来网络的头像">
                            </div>
                            <div class="comment-content">
                                <div class="comment-header">
                                    <span class="comment-author">未来网络</span>
                                    <span class="comment-time">2023-06-15 11:02</span>
                                </div>
                                <div class="comment-text">
                                    关于伦理问题，我认为需要建立严格的监管框架。AI应该作为医生的辅助工具，而不是完全替代医生。此外，患者数据的匿名化处理也非常重要，需要在数据共享和隐私保护之间找到平衡。

                                    另外，我想补充一点，AI在个性化医疗方面也有很大潜力。通过分析患者的基因数据和生活习惯，AI可以帮助医生制定更精准的治疗方案。
                                </div>
                                <div class="comment-actions">
                                    <a href="#" class="comment-action">
                                        <i class="far fa-heart"></i>
                                        <span>24</span>
                                    </a>
                                    <a href="#" class="comment-action reply-btn">
                                        <i class="far fa-comment"></i>
                                        <span>回复</span>
                                    </a>
                                </div>
                                
                                <!-- 回复列表 -->
                                <div class="replies-list">
                                    <div class="reply-item">
                                        <div class="user-avatar">
                                            <img src="https://picsum.photos/id/399/100/100" alt="智能生活的头像">
                                        </div>
                                        <div class="reply-content">
                                            <div class="reply-header">
                                                <span class="reply-author">智能生活</span>
                                                <span class="reply-to">回复 未来网络</span>
                                            </div>
                                            <div class="reply-text">
                                                同意你的观点。我了解到一些国家已经开始制定AI医疗应用的伦理指南，强调"人类主导"原则，即最终决策权仍在医生手中。
                                            </div>
                                            <div class="reply-actions">
                                                <a href="#" class="reply-action">
                                                    <i class="far fa-heart"></i>
                                                    <span>8</span>
                                                </a>
                                                <a href="#" class="reply-action reply-btn">
                                                    <i class="far fa-comment"></i>
                                                    <span>回复</span>
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <!-- 评论3 -->
                        <div class="comment-item">
                            <div class="user-avatar">
                                <img src="https://picsum.photos/id/177/100/100" alt="科技先锋的头像">
                            </div>
                            <div class="comment-content">
                                <div class="comment-header">
                                    <span class="comment-author">科技先锋</span>
                                    <span class="comment-time">2023-06-15 13:45</span>
                                </div>
                                <div class="comment-text">
                                    补充一个最新案例：国内某知名医院最近引入了AI辅助诊断系统，在肺部CT检查中，该系统能够在30秒内完成对图像的分析，而人工检查通常需要5-10分钟。更重要的是，在为期三个月的试点中，AI系统发现了12例被人工诊断遗漏的早期肺癌病例。

                                    这说明AI不仅能提高效率，还能提高诊断的准确性，特别是对于早期疾病的检测。
                                </div>
                                <div class="comment-actions">
                                    <a href="#" class="comment-action">
                                        <i class="far fa-heart"></i>
                                        <span>47</span>
                                    </a>
                                    <a href="#" class="comment-action reply-btn">
                                        <i class="far fa-comment"></i>
                                        <span>回复</span>
                                    </a>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 加载更多评论 -->
                    <div style="text-align: center; margin-top: 1.5rem;">
                        <button class="btn-cancel" style="width: 100%;">
                            加载更多评论
                        </button>
                    </div>
                </div>
            </div>
            
            <!-- 侧边栏 -->
            <div class="sidebar">
                <!-- 作者信息 -->
                <div class="sidebar-card author-card">
                    <div class="author-card-avatar">
                        <img src="https://picsum.photos/id/64/100/100" alt="科技探索者的头像">
                    </div>
                    <div class="author-card-info">
                        <h3 class="author-card-name">科技探索者</h3>
                        <p class="author-card-role">人工智能研究员 · 论坛认证专家</p>
                        <div class="author-card-stats">
                            <div class="author-stat">
                                <p class="stat-value">128</p>
                                <p class="stat-label">帖子</p>
                            </div>
                            <div class="author-stat">
                                <p class="stat-value">3.5k</p>
                                <p class="stat-label">粉丝</p>
                            </div>
                            <div class="author-stat">
                                <p class="stat-value">4.8</p>
                                <p class="stat-label">评分</p>
                            </div>
                        </div>
                        <button class="btn-follow">
                            <i class="fas fa-user-plus"></i> 关注
                        </button>
                    </div>
                </div>
                
                <!-- 相关帖子 -->
                <div class="sidebar-card">
                    <h3 class="sidebar-title">相关推荐</h3>
                    <ul class="related-posts">
                        <li class="related-post-item">
                            <a href="#" class="related-post-link">
                                深度学习在医学影像分析中的最新进展与挑战
                            </a>
                            <div class="related-post-meta">
                                <span><i class="far fa-eye"></i> 1.2k</span>
                                <span><i class="far fa-comment"></i> 36</span>
                            </div>
                        </li>
                        <li class="related-post-item">
                            <a href="#" class="related-post-link">
                                区块链技术如何解决医疗数据共享中的隐私问题
                            </a>
                            <div class="related-post-meta">
                                <span><i class="far fa-eye"></i> 856</span>
                                <span><i class="far fa-comment"></i> 24</span>
                            </div>
                        </li>
                        <li class="related-post-item">
                            <a href="#" class="related-post-link">
                                个性化医疗：AI如何根据基因数据定制治疗方案
                            </a>
                            <div class="related-post-meta">
                                <span><i class="far fa-eye"></i> 1.5k</span>
                                <span><i class="far fa-comment"></i> 47</span>
                            </div>
                        </li>
                        <li class="related-post-item">
                            <a href="#" class="related-post-link">
                                医疗AI的伦理框架：全球监管现状与未来趋势
                            </a>
                            <div class="related-post-meta">
                                <span><i class="far fa-eye"></i> 987</span>
                                <span><i class="far fa-comment"></i> 53</span>
                            </div>
                        </li>
                        <li class="related-post-item">
                            <a href="#" class="related-post-link">
                                从实验室到临床：AI医疗产品的审批之路
                            </a>
                            <div class="related-post-meta">
                                <span><i class="far fa-eye"></i> 754</span>
                                <span><i class="far fa-comment"></i> 19</span>
                            </div>
                        </li>
                    </ul>
                </div>
                
                <!-- 论坛信息 -->
                <div class="sidebar-card">
                    <h3 class="sidebar-title">所属论坛</h3>
                    <div class="d-flex align-items-center gap-2 mb-3">
                        <div style="width: 40px; height: 40px; border-radius: 50%; overflow: hidden;">
                            <img src="https://picsum.photos/id/1040/100/100" alt="科技前沿论坛图标" style="width: 100%; height: 100%; object-fit: cover;">
                        </div>
                        <div>
                            <h4 style="font-size: 1rem; margin-bottom: 0;">科技前沿论坛</h4>
                            <p style="color: var(--text-secondary); font-size: 0.8rem; margin-bottom: 0;">5.7k 成员 · 3.2k 帖子</p>
                        </div>
                    </div>
                    <p style="font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem;">
                        讨论最新科技趋势、人工智能发展、区块链应用、元宇宙概念以及各类数码产品评测。
                    </p>
                    <button class="btn btn-primary w-100">
                        <i class="fas fa-user-plus"></i> 加入论坛
                    </button>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 点赞功能
            const likeButtons = document.querySelectorAll('.action-btn:not(.bookmarked), .comment-action:not(.reply-btn), .reply-action:not(.reply-btn)');
            likeButtons.forEach(button => {
                if (button.querySelector('.fa-heart')) {
                    button.addEventListener('click', function(e) {
                        e.preventDefault();
                        this.classList.toggle('liked');
                        const icon = this.querySelector('.fa-heart');
                        const countEl = this.querySelector('span');
                        
                        if (this.classList.contains('liked')) {
                            icon.classList.remove('far');
                            icon.classList.add('fas');
                            if (countEl) {
                                let count = parseInt(countEl.textContent);
                                countEl.textContent = (count + 1).toString();
                            }
                        } else {
                            icon.classList.remove('fas');
                            icon.classList.add('far');
                            if (countEl) {
                                let count = parseInt(countEl.textContent);
                                countEl.textContent = (count - 1).toString();
                            }
                        }
                    });
                }
            });
            
            // 收藏功能
            const bookmarkButtons = document.querySelectorAll('.action-btn.bookmarked');
            bookmarkButtons.forEach(button => {
                button.addEventListener('click', function() {
                    this.classList.toggle('bookmarked');
                    const icon = this.querySelector('.fa-bookmark');
                    
                    if (this.classList.contains('bookmarked')) {
                        icon.classList.remove('far');
                        icon.classList.add('fas');
                    } else {
                        icon.classList.remove('fas');
                        icon.classList.add('far');
                    }
                });
            });
            
            // 回复功能
            const replyButtons = document.querySelectorAll('.reply-btn');
            replyButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.preventDefault();
                    
                    // 隐藏所有回复框
                    document.querySelectorAll('.reply-form-container').forEach(container => {
                        container.style.display = 'none';
                    });
                    
                    // 显示当前评论的回复框
                    const commentItem = this.closest('.comment-content, .reply-content');
                    const repliesList = commentItem.querySelector('.replies-list');
                    
                    // 如果回复框不存在，则创建一个
                    let replyFormContainer = repliesList.querySelector('.reply-form-container');
                    if (!replyFormContainer) {
                        replyFormContainer = document.createElement('div');
                        replyFormContainer.className = 'reply-form-container';
                        replyFormContainer.innerHTML = `
                            <div class="reply-form">
                                <div class="user-avatar">
                                    <img src="https://picsum.photos/id/1005/100/100" alt="当前用户头像">
                                </div>
                                <div class="comment-input">
                                    <textarea class="reply-textarea" placeholder="回复 @${this.closest('.comment-content, .reply-content').querySelector('.comment-author, .reply-author').textContent}..."></textarea>
                                    <div class="reply-form-actions">
                                        <button class="btn-cancel-reply">取消</button>
                                        <button class="btn-post-reply">回复</button>
                                    </div>
                                </div>
                            </div>
                        `;
                        repliesList.appendChild(replyFormContainer);
                        
                        // 为新创建的取消按钮添加事件
                        replyFormContainer.querySelector('.btn-cancel-reply').addEventListener('click', function() {
                            replyFormContainer.style.display = 'none';
                        });
                        
                        // 为新创建的回复按钮添加事件
                        replyFormContainer.querySelector('.btn-post-reply').addEventListener('click', function() {
                            // 在实际应用中，这里会发送回复到服务器
                            alert('回复功能已触发');
                            replyFormContainer.style.display = 'none';
                        });
                    } else {
                        replyFormContainer.style.display = 'block';
                    }
                    
                    // 聚焦到回复框
                    replyFormContainer.querySelector('.reply-textarea').focus();
                });
            });
            
            // 评论取消按钮
            document.querySelector('.btn-cancel').addEventListener('click', function() {
                document.querySelector('.comment-textarea').value = '';
            });
            
            // 发布评论按钮
            document.querySelector('.btn-post-comment').addEventListener('click', function() {
                const textarea = document.querySelector('.comment-textarea');
                if (textarea.value.trim() !== '') {
                    // 在实际应用中，这里会发送评论到服务器
                    alert('评论已发布');
                    textarea.value = '';
                } else {
                    alert('请输入评论内容');
                }
            });
            
            // 分享按钮功能
            const shareButtons = document.querySelectorAll('.share-btn');
            shareButtons.forEach(button => {
                button.addEventListener('click', function() {
                    const title = this.getAttribute('title');
                    alert(`${title}分享功能已触发`);
                });
            });
            
            // 关注按钮功能
            const followButton = document.querySelector('.btn-follow');
            if (followButton) {
                followButton.addEventListener('click', function() {
                    if (this.classList.contains('btn-following')) {
                        this.classList.remove('btn-following');
                        this.classList.add('btn-follow');
                        this.innerHTML = '<i class="fas fa-user-plus"></i> 关注';
                    } else {
                        this.classList.remove('btn-follow');
                        this.classList.add('btn-following');
                        this.innerHTML = '<i class="fas fa-user-check"></i> 已关注';
                    }
                });
            }
            
            // 加载更多评论
            document.querySelector('.btn-cancel[style*="width: 100%"]').addEventListener('click', function() {
                this.innerHTML = '<i class="fas fa-spinner fa-spin"></i> 加载中...';
                // 模拟加载延迟
                setTimeout(() => {
                    this.innerHTML = '没有更多评论了';
                    this.disabled = true;
                    this.style.opacity = '0.7';
                }, 1500);
            });
        });
    </script>
</body>
</html>
    
